-
Notifications
You must be signed in to change notification settings - Fork 1.3k
[bridge] Fix wrong mapping of WorkspaceStatus to prebuild when "snapshot" is missing #9924
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
bdd4717
to
a8e3016
Compare
a8e3016
to
26c173a
Compare
26c173a
to
ccddd3d
Compare
}[] = [ | ||
{ | ||
name: "STOPPED", | ||
expected: undefined, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
with this change, the PrebuildWorkspace
would not be updated on STOPPED
events, or am I missing something?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, that mimics the previous behavior, which completely ignored anything except Stopping.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/hold
@geropl, I don't want to block this PR just because I don't get the point from the previous comment. Your call, if you think that's OK.
/unhold |
Description
Does what is says in the title, plus adding tests for the mapping. 🧘
Related Issue(s)
Fixes #9676
How to test
cd components/ws-manager-bridge && yarn test
Release Notes
Documentation